package cn.yunhe.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Data
@Component
public class Per1 implements Person{

    @Override
    public List listPer() {
        List list=new ArrayList();
        list.add("zhangsan");
        list.add("lisi");
        list.add("wangwu");

        return list;
    }
}
